/**
 * Created by Administrator on 2019/5/31.
 */
/*斐波那契数列*/
function f(n) {
    if(n==1||n==2){
        return 1;
    }else{
        return f(n-1)+f(n-2);
    }
}  console.log(f(25));
alert("斐波那契的第25个是"+f(25))